#ifndef STEPPING_MOTOR_H
#define STEPPING_MOTOR_H

#include <stdint.h>

typedef enum {
    CLOCKWISE,
    ANTI_CLOCKWISE,
} MOTOR_Direction;

void STEPPING_MOTOR_Start(const MOTOR_Direction direction, const uint32_t autoreload);

void STEPPING_MOTOR_TurnAngle(const uint32_t autoreload, const float angle);

void STEPPING_MOTOR_StartSustained(const MOTOR_Direction direction, const uint32_t autoreload, const uint32_t ms);

void STEPPING_MOTOR_Stop();

#endif //STEPPING_MOTOR_H
